package com.ruoyi.map.service.impl;

import com.ruoyi.map.domain.FhMapGuide;
import com.ruoyi.map.mapper.FhMapGuideMapper;
import com.ruoyi.map.service.IFhMapGuideService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class FhMapGuideServiceImpl implements IFhMapGuideService {

    @Autowired
    private FhMapGuideMapper fhMapGuideMapper;


    @Override
    public List<FhMapGuide> guideList(Long fhisId) {
        return fhMapGuideMapper.guideList(fhisId);
    }

    @Override
    public int insertGuide(FhMapGuide fhMapGuide) {
        return fhMapGuideMapper.insertGuide(fhMapGuide);
    }

    @Override
    public int updataGuide(FhMapGuide fhMapGuide) {
        return fhMapGuideMapper.updataGuide(fhMapGuide);
    }

    @Override
    public int deleteGuide(Long[] ids) {
        return fhMapGuideMapper.deleteGuide(ids);
    }
}
